-
Home
-
Crowdsignal Forms
-
1.4.5
-
Code
-
Classes
- Poll
| Total Complexity |
40 |
| Dependencies |
3 |
| Dependents |
4 |
| Total lines |
338 |
| Lines of code |
136 |
| Logical lines of code |
85 |
| Comment lines |
143 |
| Methods |
14 |
| Properties |
8 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_from_block_attrs() |
A |
49 |
10 |
30 |
| from_array() |
A |
52 |
9 |
22 |
| to_array() |
S |
54 |
6 |
22 |
| update_from_block() |
S |
52 |
5 |
25 |
| __construct() |
S |
69 |
1 |
7 |
| validate() |
S |
82 |
1 |
3 |
| get_id() |
S |
82 |
1 |
3 |
| get_question() |
S |
82 |
1 |
3 |
| get_answers() |
S |
82 |
1 |
3 |
| get_source_link() |
S |
82 |
1 |
3 |
| set_source_link() |
S |
77 |
1 |
4 |
| get_poll_type() |
S |
82 |
1 |
3 |
| set_poll_type() |
S |
77 |
1 |
4 |
| set_client_id() |
S |
77 |
1 |
4 |